Skip to content

Conversation

@Dan-Flores
Copy link
Contributor

@Dan-Flores Dan-Flores commented Nov 26, 2025

Benchmarking up to 30 frames from testsrc2_10min.mp4 over 30 runs:

python benchmarks/encoders/benchmark_encoders.py --max-frames=30 --path test/resources/testsrc2_10min.mp4 Benchmarking up to 30 frames from testsrc2_10min.mp4 over 30 runs: Loaded 30 frames of size 720x1280

VideoEncoder on GPU med = 267.28, mean = 267.37 +- 0.65, min_time = 266.40, max_time = 269.23 - in ms
GPU utilization: avg = 2.0%, peak = 4.0%

FFmpeg CLI on GPU med = 510.03, mean = 538.76 +- 157.97, min_time = 504.85, max_time = 1375.05 - in ms
GPU utilization: avg = 4.3%, peak = 8.0%

VideoEncoder on CPU med = 184.93, mean = 186.89 +- 5.18, min_time = 178.24, max_time = 198.20 - in ms
CPU utilization: avg = 13.0%, peak = 15.8%

FFmpeg CLI on CPU med = 219.79, mean = 220.30 +- 4.42, min_time = 211.57, max_time = 231.77 - in ms
CPU utilization: avg = 11.1%, peak = 13.4%

Benchmarking up to 30 frames from testsrc2_10min.mp4 over 30 runs and counting write_frames time for FFmpeg:

python benchmarks/encoders/benchmark_encoders.py --max-frames=30 --path test/resources/testsrc2_10min.mp4 --write-frames Benchmarking up to 30 frames from testsrc2_10min.mp4 over 30 runs: Loaded 30 frames of size 720x1280

VideoEncoder on GPU med = 267.41, mean = 267.45 +- 0.38, min_time = 266.64, max_time = 268.49 - in ms
GPU utilization: avg = 1.5%, peak = 4.0%

FFmpeg CLI on GPU med = 660.36, mean = 663.54 +- 8.49, min_time = 650.37, max_time = 682.00 - in ms
GPU utilization: avg = 2.4%, peak = 8.0%

VideoEncoder on CPU med = 199.04, mean = 198.27 +- 8.79, min_time = 181.96, max_time = 215.65 - in ms
CPU utilization: avg = 12.4%, peak = 13.7%

FFmpeg CLI on CPU med = 643.62, mean = 630.76 +- 63.45, min_time = 328.03, max_time = 662.71 - in ms
CPU utilization: avg = 4.2%, peak = 7.7%

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 26, 2025
@Dan-Flores Dan-Flores force-pushed the test_gpu_benchmarking branch from e4b6d52 to 743b664 Compare December 2, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant